package com.itheima.dto;



import lombok.Data;

import java.util.List;

@Data
public class UserDto  {
    private String avatar;

    private String introduction;

    private String name;

    private List<String> role;

    private Roles roles;

    public UserDto() {
    }

    public UserDto(List<String> role, List<String> menus, List<String> point) {
        this.role = role;
        this.roles = new Roles(menus,point);
    }
}
